﻿using Microsoft.Build.Evaluation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OD.ProjectCustomizationTool.Helpers
{
    internal static class ProjectExtensions
    {
        /// <summary>
        /// Retrieve the full solution path of a project.
        /// </summary>
        /// <param name="obj">The project to consider.</param>
        /// <returns>Returns the full path of the solution of the project.</returns>
        public static String GetSolutionFullPath(this Project obj)
        {
            return SolutionHelper.GetFullPath(obj.FullPath);
        }
    }
}
